package com.xcx.eduservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xcx.commonuntils.returnuntls.ReturnMessage;
import com.xcx.eduservice.entity.aclentity.Permission;
import com.xcx.eduservice.request.aclrequest.PromissionRequest;
import com.xcx.eduservice.request.aclrequest.userrequest.UserGetProcessionRequest;

import java.util.List;

public interface PermissionService extends IService<Permission> {
    List<Permission> queryAllMenuGuli();

    void removeChildByIdGuli(String id);

    void saveRolePermissionRealtionShipGuli(String roleId, List<String> permissionIds);


    ReturnMessage<Permission> savePromission(PromissionRequest promissionRequest);

    List<Permission> selectAllMenu(String roleId);

    ReturnMessage<List<Permission>> getPromissByUserId(UserGetProcessionRequest userGetProcessionRequet);
}
